home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005.7z / CHIP Utilities 2005.iso / images / fd32rdp.igz / fd32rdp.img / LEVEL0 / DOSRDP.CAB / bin / g2.bat < prev   
DOS Batch File  |  2005-01-16  |  969b  |  34 lines

  1. @if "%debug%"=="" echo off
  2. if "%1"==":" if not "%2"=="" goto %2
  3.  
  4. if "%wattcp.cfg%"=="" %0 : _error missing WATTCP (packet driver)
  5. if not exist %wattcp.cfg%\wattcp.cfg %0 : _error missing %wattcp.cfg%\wattcp.cfg
  6. if not exist %wattcp.cfg%\tcp.cfg %0 : _error missing %wattcp.cfg%\tcp.cfg
  7. if not exist %wattcp.cfg%\g2.exe %0 : _error missing %wattcp.cfg%\g2.exe
  8.  
  9. if exist PROTMAN$ if not exist PKTDRV$ %0 : _error MsClient packet driver missing (MSNET)
  10.  
  11. if not exist %ramdrv%\bin\pktchk.com goto _npktchk
  12. %ramdrv%\bin\pktchk.com 0x20 0xff >nul
  13. if errorlevel 1 %0 : _error missing packet driver
  14. :_npktchk
  15.  
  16. %ramdrv%
  17. cd %wattcp.cfg%
  18. if not exist g2.exe %0 : _error missing g2.exe
  19. for %%i in (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25) do echo.
  20. g2.exe %1 %2 %3 %4 %5 %6 %7 %8
  21. cd \
  22. goto _end
  23.  
  24. :_error
  25. shift
  26. shift
  27. echo.
  28. echo G2: Error%errorlevel% %1 %2 %3 %4 %5 %6 %7 %8
  29. echo.
  30. @rem pause
  31. goto _end
  32. :_end
  33. :: Dosrdp End ::
  34.